$OpenBSD: patch-include_config_h_in,v 1.8 2013/11/07 10:31:38 rpe Exp $
--- include/config.h.in.orig	Wed Oct 16 01:36:42 2013
+++ include/config.h.in	Fri Nov  1 17:45:15 2013
@@ -128,11 +128,6 @@
 #endif
 #endif
 
-#undef HAVE_SYS_RESOURCE_H
-#ifdef HAVE_SYS_RESOURCE_H
-#include <sys/resource.h>
-#endif
-
 #undef HAVE_LIMITS_H
 #ifdef HAVE_LIMITS_H
 #include <limits.h>
@@ -211,6 +206,11 @@
 #undef HAVE_SYS_TIMEB_H
 #if HAVE_SYS_TIMEB_H
 #include <sys/timeb.h>
+#endif
+
+#undef HAVE_SYS_RESOURCE_H
+#ifdef HAVE_SYS_RESOURCE_H
+#include <sys/resource.h>
 #endif
 
 #undef HAVE_SYS_IPC_H
